<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );


    // Loop through each row and build the table
    /*foreach( $minicart as $cart ) { 		

		foreach( $cart as $attr => $val ) {
			// Using this we make all the variables available in the template
			// translated example: $this->set( 'product_name', $product_name );
			$this->set( $attr, $val );
		}
        if(!$vmMinicart) { // Build Minicart
            ?>
            <div style="float: left;">
            <?php echo $cart['quantity'] ?>&nbsp;x&nbsp;<a href="<?php echo $cart['url'] ?>"><?php echo $cart['product_name'] ?></a>
            </div>
            <div style="float: right;">
            <?php echo $cart['price'] ?>
            </div>
            <br style="clear: both;" />
            <?php echo $cart['attributes'];
        }
    }*/
	$mycart = '<p>'.$VM_LANG->_('HA_SHOPPING_BAG').'</p>';
	$mycart .= '<a href="index.php?option=com_virtuemart&page=shop.cart" class="top_link">'.count($minicart).' '.$VM_LANG->_('HA_NUMBER_PRODUCT_LB').'</a>';
	$mycart .= '<span><img src="'.JURI::base().'templates/rhuk_milkyway/images/dot.gif" alt=""/></span>';
	$mycart .= '<a href="index.php?page=shop.cart&option=com_virtuemart" class="top_link">'.$VM_LANG->_('HA_CHECK_OUT').'</a>';
	echo $mycart;


